package com.bk.bands.template;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

import com.bk.bands.model.Font;


@XmlAccessorType(XmlAccessType.PUBLIC_MEMBER)
@XmlType(name = "font", namespace = "http://com.bk.docs", propOrder = {
   "height",
   "faceName",
   "bold",
   "italic",
   "underline",
   "strikeout"
})
public class XmlFont
{
   private Font font;

   public XmlFont(Font font)
   {
      this.font = font;
   }

   public XmlFont()
   {
      this.font = new Font();
   }

   public Font getFont()
   {
      return font;
   }

   @XmlElement(namespace = "http://com.bk.docs")
   public int getHeight()
   {
      return font.getHeight();
   }

   public void setHeight(int value)
   {
      font.setHeight(value);
   }

   @XmlElement(namespace = "http://com.bk.docs", required = true, name = "face")
   public String getFaceName()
   {
      return font.getFaceName();
   }

   public void setFaceName(String value)
   {
      font.setFaceName(value);
   }

   @XmlElement(namespace = "http://com.bk.docs")
   public boolean isBold()
   {
      return font.isBold();
   }

   public void setBold(boolean value)
   {
      font.setBold(value);
   }

   @XmlElement(namespace = "http://com.bk.docs")
   public boolean isItalic()
   {
      return font.isItalic();
   }

   public void setItalic(boolean value)
   {
      font.setItalic(value);
   }

   @XmlElement(namespace = "http://com.bk.docs")
   public boolean isUnderline()
   {
      return font.isUnderline();
   }

   public void setUnderline(boolean value)
   {
      font.setUnderline(value);
   }

   @XmlElement(namespace = "http://com.bk.docs")
   public boolean isStrikeout()
   {
      return font.isStrikeout();
   }

   public void setStrikeout(boolean value)
   {
      font.setStrikeout(value);
   }

}
